<template>
  <div class="app-container">
    <el-tabs v-model="currentTabName" @tab-click="handleClick">
      <el-tab-pane label="默认充值配置" name="RechargeDefault">
        <RechargeBase v-if="currentTabName === 'RechargeDefault'" :list-type="defalut" />
      </el-tab-pane>
      <el-tab-pane label="渠道充值配置" name="ChannelRecharge">
        <RechargeBase v-if="currentTabName === 'ChannelRecharge'" :list-type="channelType" />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import RechargeBase from './rechargebase.vue'

export default {
  components: {
    RechargeBase
  },
  data() {
    return {
      defalut: 0,
      channelType: 1,
      currentTabName: 'RechargeDefault'
    }
  },
  methods: {
    handleClick(tab, event) {
    }
  }
}
</script>
